package com.xx.eshop.service;

import java.util.List;

import com.xx.eshop.entity.Attr;
import com.xx.eshop.entity.AttrValue;

public interface AttrValueService {

	public void save(AttrValue value);
	
	public void update(AttrValue value);
	
	public void delete(int id);
	
	public int findNextId(int cid);
	
	public List<AttrValue> findByAttr(int aid);
	
	public List<AttrValue> findByAttr2(int aid);

	public List<AttrValue> findByAttrFetch(int aid);
	
	public AttrValue findOne(int id);

	public AttrValue updateSort(int valueId, int valueSort);
}
